package com.woniuxy.cloud.carl.store.infra.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 门店月销表
 * </p>
 *
 * @author Lucas
 * @since 2023-07-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_store_sale")
public class StoreSale implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 门店月销id
     */
    @TableId(value = "store_sale_id", type = IdType.AUTO)
    private Long storeSaleId;

    /**
     * 门店id
     */
    private Long storeId;

    /**
     * 年份-月份
     */
    private Date time;

    /**
     * 收入总额
     */
    private BigDecimal amount;

    /**
     * 订单数量
     */
    private Integer orderCount;


}
